QUOTE
 

This plugin has two different uses: it can display a random string from a text file or it can select a random file from a folder which can be displayed with the IMAGE meter (if it's an image that is).

PathName
Path to a folder or a file. If it's a folder, the plugin returns the file name of one of the files in it. If it's a file, the plugin reads a random part of text from it. The file can be ANSI or UNICODE.

Separator
A string that separates the text. The default value is \n (i.e. newline).

Subfolders
Set to 1 to scan also the subfolders.

FileFilter
This can used to filter the files by their name. It's possible to define several file filters by separating them with ';'-char. E.g. FileFilter=*.jpg;*.gif

 


Examples

Shows random image from your My Pictures folder as 200x200 thumbnail.

[MeasureQuote]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=%HOMEDRIVE%%HOMEPATH%\My Documents\My Pictures\
Subfolders=1
FileFilter=*.jpg;*.gif

[MeterQuote]
Meter=IMAGE
X=0
Y=0
W=200
H=200
MeasureName=MeasureQuote